package com.plian.system.service.fr.bulletin;

import com.plian.system.entity.fr.bulletin.BulletinSummaryRelation;
import com.plian.system.mybatis.base.BaseService;

import java.util.List;

/**
 * 服务类 合计表和子表关联关系表
 *
 * @author
 * @since 2019-09-27
 */
public interface IBulletinSummaryRelationService extends BaseService<BulletinSummaryRelation> {

    /**
     * 根据主表删除
     * @param baseIds
     * @return
     */
    boolean deleteByBaseId(List<String> baseIds);

    /**
     * 保存关系
     * @param baseId
     * @param childIds
     * @return
     */
    boolean submit(String baseId, List<String> childIds);
}
